package com.ruoyi.project.wechatprogram.webreport.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 餐品订单对象 wx_order_master
 * 
 * @author sxchen
 * @date 2020-04-15
 */
public class WxVisitData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    // 待上餐
    public static final int ORDER_STATUS_WAIT = 0;

    // 已取消
    public static final int ORDER_STATUS_CANCEL = 1;

    // 已完成
    public static final int ORDER_STATUS_FINISH = 2;

    // 已过期
    public static final int ORDER_STATUS_EXPIRE = 3;

    // 已支付
    public static final int PAY_STATUS_YES = 0;

    // 未支付
    public static final int PAY_STATUS_NO = 1;

    /** 主键 */
    private Integer id;

    /** 订单id */
    @Excel(name = "订单id")
    private String orderId;

    /** 买家名字 */
    @Excel(name = "买家名字")
    private String buyerName;

    /** 买家电话 */
    @Excel(name = "买家电话")
    private String buyerPhone;

    /** 买家桌号 */
    @Excel(name = "买家桌号")
    private String buyerAddress;

    /** 买家微信openid */
    @Excel(name = "买家微信openid")
    private String buyerOpenid;

    /** 就餐人数 */
    @Excel(name = "就餐人数")
    private Integer orderNum;

    /** 订单价格 */
    @Excel(name = "订单价格")
    private Integer orderPrice;

    /** 订单人 */
    @Excel(name = "订单人")
    private Integer wxUserId;

    /** 订单状态, 默认为新下单 */
    @Excel(name = "订单状态, 默认为新下单")
    private Integer orderStatus;

    /** 支付状态, 默认未支付 */
    @Excel(name = "支付状态, 默认未支付")
    private Integer payStatus;

    /** 就餐生效时间 */
    @Excel(name = "就餐生效时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date repastStartTime;

    /** 就餐失效时间 */
    @Excel(name = "就餐失效时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date repastEndTime;

    /** 日期 */
    @Excel(name = "日期")
    private String day;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    /** 菜品图片*/
    private String menuPictureUrl;

    /** 菜品描述*/
    private String menuDescription;

    /** 菜品类目*/
    private String categoryName;

    /** 菜品名称，逗号隔开 */
    private String menuNames;

    /** 站点id */
    @Excel(name = "站点id")
    private Integer webId;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Integer del;

    /** 是否评价 */
    private Integer commentStatus;

    /** 是否评价 */
    private Integer categoryType;

    /** 就餐总人数 */
    private Integer visitCount;

    /** 早餐就餐人数 */
    private Integer earlyPeople;

    /** 午餐就餐人数 */
    private Integer middayPeople;

    /** 晚餐就餐人数 */
    private Integer eveningPeople;

    /** 菜品名称 */
    private String menuName;

    /** 菜品数量 */
    private Integer menuCount;

    /** 菜品种类对应的数量 */
    private Integer categoryCount;

    public Integer getCategoryCount() {
        return categoryCount;
    }

    public void setCategoryCount(Integer categoryCount) {
        this.categoryCount = categoryCount;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Integer getMenuCount() {
        return menuCount;
    }

    public void setMenuCount(Integer menuCount) {
        this.menuCount = menuCount;
    }

    public Integer getEarlyPeople() {
        return earlyPeople;
    }

    public void setEarlyPeople(Integer earlyPeople) {
        this.earlyPeople = earlyPeople;
    }

    public Integer getMiddayPeople() {
        return middayPeople;
    }

    public void setMiddayPeople(Integer middayPeople) {
        this.middayPeople = middayPeople;
    }

    public Integer getEveningPeople() {
        return eveningPeople;
    }

    public void setEveningPeople(Integer eveningPeople) {
        this.eveningPeople = eveningPeople;
    }

    public Integer getVisitCount() {
        return visitCount;
    }

    public void setVisitCount(Integer visitCount) {
        this.visitCount = visitCount;
    }

    public WxVisitData() {
    }

    public WxVisitData(Integer id, String orderId, String buyerName, String buyerPhone, String buyerAddress, String buyerOpenid, Integer orderNum, Integer orderPrice, Integer wxUserId, Integer orderStatus, Integer payStatus, Date repastStartTime, Date repastEndTime, String day, Date createTime, Date updateTime, String menuPictureUrl, String menuDescription, String categoryName, String menuNames, Integer webId, Integer del) {
        this.id = id;
        this.orderId = orderId;
        this.buyerName = buyerName;
        this.buyerPhone = buyerPhone;
        this.buyerAddress = buyerAddress;
        this.buyerOpenid = buyerOpenid;
        this.orderNum = orderNum;
        this.orderPrice = orderPrice;
        this.wxUserId = wxUserId;
        this.orderStatus = orderStatus;
        this.payStatus = payStatus;
        this.repastStartTime = repastStartTime;
        this.repastEndTime = repastEndTime;
        this.day = day;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.menuPictureUrl = menuPictureUrl;
        this.menuDescription = menuDescription;
        this.categoryName = categoryName;
        this.menuNames = menuNames;
        this.webId = webId;
        this.del = del;
    }

    public Integer getCategoryType() {
        return categoryType;
    }

    public void setCategoryType(Integer categoryType) {
        this.categoryType = categoryType;
    }

    public Integer getCommentStatus() {
        return commentStatus;
    }

    public void setCommentStatus(Integer commentStatus) {
        this.commentStatus = commentStatus;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
    }

    public String getBuyerPhone() {
        return buyerPhone;
    }

    public void setBuyerPhone(String buyerPhone) {
        this.buyerPhone = buyerPhone;
    }

    public String getBuyerAddress() {
        return buyerAddress;
    }

    public void setBuyerAddress(String buyerAddress) {
        this.buyerAddress = buyerAddress;
    }

    public String getBuyerOpenid() {
        return buyerOpenid;
    }

    public void setBuyerOpenid(String buyerOpenid) {
        this.buyerOpenid = buyerOpenid;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Integer orderPrice) {
        this.orderPrice = orderPrice;
    }

    public Integer getWxUserId() {
        return wxUserId;
    }

    public void setWxUserId(Integer wxUserId) {
        this.wxUserId = wxUserId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public Date getRepastStartTime() {
        return repastStartTime;
    }

    public void setRepastStartTime(Date repastStartTime) {
        this.repastStartTime = repastStartTime;
    }

    public Date getRepastEndTime() {
        return repastEndTime;
    }

    public void setRepastEndTime(Date repastEndTime) {
        this.repastEndTime = repastEndTime;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getMenuNames() {
        return menuNames;
    }

    public void setMenuNames(String menuNames) {
        this.menuNames = menuNames;
    }

    public String getMenuPictureUrl() {
        return menuPictureUrl;
    }

    public void setMenuPictureUrl(String menuPictureUrl) {
        this.menuPictureUrl = menuPictureUrl;
    }

    public String getMenuDescription() {
        return menuDescription;
    }

    public void setMenuDescription(String menuDescription) {
        this.menuDescription = menuDescription;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Integer getWebId() {
        return webId;
    }

    public void setWebId(Integer webId) {
        this.webId = webId;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    @Override
    public String toString() {
        return "WxOrderMaster{" +
                "id=" + id +
                ", orderId='" + orderId + '\'' +
                ", buyerName='" + buyerName + '\'' +
                ", buyerPhone='" + buyerPhone + '\'' +
                ", buyerAddress='" + buyerAddress + '\'' +
                ", buyerOpenid='" + buyerOpenid + '\'' +
                ", orderNum=" + orderNum +
                ", orderPrice=" + orderPrice +
                ", wxUserId=" + wxUserId +
                ", orderStatus=" + orderStatus +
                ", payStatus=" + payStatus +
                ", repastStartTime=" + repastStartTime +
                ", repastEndTime=" + repastEndTime +
                ", day='" + day + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", menuNames='" + menuNames + '\'' +
                ", webId=" + webId +
                ", del=" + del +
                '}';
    }
}
